import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 预编译处理
import './assets/css/reset.css'
import './common/stylus/mixins.styl'

import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'

// 全局使用ly-bar组件
import LyTab from 'ly-tab'

import Loading from 'muse-ui-loading'
import 'muse-ui-loading/dist/muse-ui-loading.css' // load css

Vue.use(MuseUI)
Vue.use(LyTab)
Vue.use(Loading)

Vue.filter('price', (money) => {
  return money / 100
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
